package com.yunji.base.vo;


import com.yunji.common.model.domain.SysRoleDO;
import com.yunji.common.model.domain.SysUserDO;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

/**
 * @Project: yunji-coffee
 * @Package com.yunji.user.vo
 * @FileName UserInfoVO.java
 * @Copyright Copyright © 2024 云集互联. All Rights Reserved
 * Company		com
 * @version 1.0
 * @since JDK 1.8.0_202
 * @CreateTime 2024-08-21 10:20:46
 * @Description 用户响应结果
 * @Modification Author                    History Time			Version				Description
 * --------------------------------------------------------------------------------
 * HuaAo0803@163.com	2024-08-21 10:20:46		1.0					1.0 Version
 */
public class UserInfoVO implements Serializable {
    private static final long serialVersionUID = -8387583466891443760L;

    @ApiModelProperty("角色ID数组")
    private List<Long> roleIds;

    @ApiModelProperty("角色信息集合")
    private List<SysRoleDO> roles;

    @ApiModelProperty("用户信息")
    private SysUserDO user;

    public List<Long> getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(List<Long> roleIds) {
        this.roleIds = roleIds;
    }

    public List<SysRoleDO> getRoles() {
        return roles;
    }

    public void setRoles(List<SysRoleDO> roles) {
        this.roles = roles;
    }

    public SysUserDO getUser() {
        return user;
    }

    public void setUser(SysUserDO user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "UserInfoVO{" + "roleIds=" + roleIds + ", roles=" + roles + ", user=" + user + '}';
    }
}